package cn.hh.ymcc.feign;

import cn.hh.ymcc.result.JSONResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(value = "service-course",fallbackFactory = CourseFallbackFactory.class)
public interface CourseFeignClient {

    /**
     * 获取订单信息
     * @param courseIds
     * @return
     */
    @GetMapping("course/rpc/info/{courseIds}")
     JSONResult info(@PathVariable String courseIds);
}
